<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>注册页面</title>
<script type="text/javascript"
    src='<c:url value="/order/js/register.js"></c:url>'></script>
</head>
<body>
    <form action='<c:url value="/register"></c:url>'>
        <table>
            <tr>
                <th colspan="3">用户注册</th>
            </tr>
            <tr>
                <td>用户名：</td>
                <td><input type="text" id="username"
                    name="username" onkeyup="checkUsername()" /></td>
                <td><div id="username_tips"></div></td>
            </tr>
            <tr>
                <td>密码：</td>
                <td><input type="password" id="password"
                    name="password" /></td>
                <td><div id="passsword_tips"></div></td>
            </tr>
            <tr>
                <td>确认密码：</td>
                <td><input type="password" id="repassword"
                    name="repassword" /></td>
                <td><div id="repasssword_tips"></div></td>
            </tr>
            <tr>
                <td>真实姓名：</td>
                <td><input type="text" id="realname"
                    name="realname" /></td>
                <td><div id="realname_tips"></div></td>
            </tr>
            <tr>
                <td colspan="3"><input type="button"
                    onclick="mySubmit()" value="注册" /> <input
                    type="button" onclick="reset()" value="重置" /></td>
            </tr>
        </table>
    </form>
</body>
</html>